WOPB\VariationSwatches D

Total Complexity 134
Dependencies 3
Dependents 5
Total lines 733
Lines of code 487
Logical lines of code 270
Comment lines 147
Methods 23
Properties 1

Methods 23

Method Rating Maintainability Complexity Lines of code
variation_swatch_html()
D
25
42 153
attribute_fields()
A
44 12 49
swatches_show_loop_item_price()
A
58 10 13
wopb_loop_add_to_cart_ajax()
A
50 9 24
swatches_show_loop_add_to_cart()
A
54 8 19
swatchesInWcListingPage()
S
59 8 12
manage_attribute_term()
S
52 7 22
create_attribute_column_content()
S
53 7 21
set_product_option_terms()
S
48 5 34
loop_variation_form()
S
49 4 28
swatches_shop_loop_item_title()
S
60 5 12
save_term_meta()
S
62 4 11
initial_setup()
S
59 2 15
__construct()
S
56 1 17
add_variation_swatches_scripts()
S
58 1 17
create_attribute_column()
S
65 2 9
edit_attribute_field()
S
71 1 5
create_attribute_field()
S
75 1 4
label_attribute_column()
S
74 1 4
image_attribute_column()
S
74 1 4
color_attribute_column()
S
74 1 4
create_attribute_type()
S
76 1 4
get_taxonomy_attribute()
S
69 1 6